package com.hy.example.server.common.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(description = "样例DEMO新增参数")
public class ExampleDemoParam {

    @Size(min = 1, max = 32, message = "名称长度必须在1到32之间")
    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

}
